package com.youhui.weixin.common;

/**
 * Created by https://github.com/kuangcp on 17-10-9  下午6:47
 * 配置属性
 * @author kcp
 */
public interface MythConfig {
    // 配置文件名
    String EXCEL_INIT_PROPERTIES = "excel.properties";
    String TYPE_INIT_PROPERTIES = "type.properties";

    // Redis 中的键
    String EXCEL_READ_DEFINE = "excel_define";//表头定义
    String GOODS_KEY = "goods_cache"; // 商品的缓存
    String TYPE_MAPPING  = "type_map";//分类和id的映射
    String TYPE_DICT = "type_dict";//分类的关键字字典
    String TYPE_ORDERED = "type_ordered"; //分类的顺序
    int TYPE_ORDERED_MIN = 0;//zset最小分数值
    int TYPE_ORDERED_MAX = 1000;
    String TYPE_IGNORE_WORD = "type_ignore";//干扰词汇的字典
    String ADMIN_DEL_COUNT = "today_del_count"; // 今日删除

    // 短链接的处理
    String SHORT_MAP = "short_map";
    String SHORT_INDEX = "short_index";
    String ACCESS_TOKEN = "wx_token";// 微信的token缓存
    int MIN_TOKEN_EXPIRE = 180;
    int NO_TYPE_ID = 9;

    // 线程池的配置项
    int CORE_POOL_SIZE = 50;
    int MAX_POOL_SIZE = 100;
    int QUEUE_CAPACITY = 25;

    // 首页预加载数量
    int HOT_GOODS_SIZE = 20;

    // 公众号直接发送消息进行搜索，返回图文的总数
    int SEARCH_SIZE = 5;

    //  微信连接校验的token值
    String CONNECTION_TOKEN = "kuangcp";

    // 间隔符
    String TYPE_SPACE = "#";
    String SOCKET_MESSAGE = "]#!]";

    String SYSTEM_SOCKET="ws://wx.jjyouhuigo.com/websocket/system";
//    String SYSTEM_SOCKET="ws://127.0.0.1/websocket/system";
    String SHORT_LINK = "http://wx.jjyouhuigo.com/s/";

    // 优惠券的分享链接 其中URL包含的源用户参数字符串
    String USER_ID = "2BoQUE6FNzDb0rwI%2BPe%2F4VGZ%2FmeOremI%2F9XK8lHxSnwuY5aJ%2Bkbkg";


}
